<template>
</template>
<script>
import Cookies from "js-cookie";
import {JFlowTokenKey,TokenKey} from "@/utils/auth";
import {getRequestParams} from "@/utils/index";
//单独流程发起
export default {
  name: "flow",
  created() {
    const url=`${process.env.VUE_APP_JFLOW_CORE_ADDR}/#/FEForward?action=MyFlow&flow_no=${getRequestParams('id')}&token=${Cookies.get(JFlowTokenKey)}&s_token=${Cookies.get(TokenKey)}`;
    window.open(url,'_blank');
  },
};
</script>
